package com.jiezhuo.service.impl.jw;

import com.jiezhuo.entity.jw.JwVo;
import com.jiezhuo.entity.jw.JwXqBjkcbzr;
import com.jiezhuo.mapper.center.JwXqBjkcbzrMapper;
import com.jiezhuo.service.jw.JwXqBjkcbzrService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author com.jiezhuo
 * @since 2024-06-13
 */
@Service
public class JwXqBjkcbzrServiceImpl extends ServiceImpl<JwXqBjkcbzrMapper, JwXqBjkcbzr> implements JwXqBjkcbzrService {

    @Override
    public boolean delSubject(JwXqBjkcbzr jwXqBjkcbzr1) {
        int num =this.getBaseMapper().selectNum(jwXqBjkcbzr1);
        return num>0;
    }

    @Override
    public ArrayList<String> getClassSubjectShow(JwVo jwVo) {

        return    this.getBaseMapper().getClassSubjectShow(jwVo);
    }
}
